package java67_adv4;

public class StuTest {

	public static void main(String[] args) {
		Student stu = new Student(1000, "老吴", 32, 176.5F);
		Student stu2 = new Student(1001, "TonyZhang", 29, 186.5F);
		if (stu.compareTo(stu2) > 0) {
			System.out.println("stu大");
		} else if (stu.compareTo(stu2) == 0) {
			System.out.println("一样大");
		} else {
			System.out.println("Stu2大");
		}
	}

}
